const spread = [12, 5, 8, 130, 44, 130];

const unique = spread.filter((item, index, arr) => {
    return arr.indexOf(item) == index;
})
console.log(unique);